package com.zbkj.crmeb.task.order;

import javax.annotation.PostConstruct;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;

import com.xxl.job.core.handler.annotation.XxlJob;
import com.zbkj.crmeb.store.service.ImOrderTaskService;

/**
 * intramirror商品同步
 * @Description: 
 * @author daigb
 * @date 2021-04-29
 */
@Component
@Configuration
@EnableScheduling
public class ImSyncTask {
	@Autowired
	private ImOrderTaskService imOrderTaskService;

    
    /**
     * 订单批量查询(30分钟一次)
     * @author daigb
     * @date:  2022-05-17 14:01
     */
    @XxlJob("imOutOrderSyncTask")
    public void imOutOrderSyncTask() {
    	imOrderTaskService.selectOutOrderList();
    }

//    /**
//     * 功能描述: 查询im订单状态
//     * @Param: []
//     * @Return: void
//     * @Author: wangzh
//     * @Date: 2023/4/12 14:16
//     */
//    @XxlJob("imOrderStatusSyncTask")
//    public void imOrderStatusSyncTask() {
//        imOrderTaskService.selectOrderStatus();
//    }

}
